package com.hbnu.sync.controller;


import com.hbnu.sync.domain.entity.SyncUser;
import com.hbnu.sync.service.ISyncUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jxl
 * @since 2025-08-23
 */
@RestController
@RequestMapping("/sync-user")
public class SyncUserController {

    @Autowired
    private ISyncUserService syncUserService;

    @GetMapping
    public List<SyncUser> MoveAllUser(){
        return syncUserService.MoveAllUser();
    }

}
